home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 15 / 015.d81 / sheet text < prev    next >
Encoding:
Text File  |  1985-01-01  |  13.5 KB  |  816 lines

  1.  
  2.        Steinman Spreadsheet
  3.  
  4.  
  5.   If you are interested in
  6.  
  7. spreadsheets, you may want to make a
  8.  
  9. printout of this now--you'll need it
  10.  
  11. later.
  12.  
  13.   The inclusion of a version of the
  14.  
  15. Steinman Spreadsheet on this issue
  16.  
  17. begins a new chapter in the history
  18.  
  19. of Loadstar.  Each issue will feature
  20.  
  21. a program that's the equivalent of
  22.  
  23. software you'd have to pay $30 or
  24.  
  25. more for on the retail market.
  26.  
  27.   Future issues will include a word
  28.  
  29. processor, a data base, a file copy
  30.  
  31. utility, and a dungeon game.
  32.  
  33.   Spreadsheets, beginning with
  34.  
  35. Visicalc, enable the user to play the
  36.  
  37. simulation "What if".  The process
  38.  
  39. used in the simulation is called
  40.  
  41. "modeling".  A spreadsheet model can
  42.  
  43. analyze any problem that can be
  44.  
  45. reduced to numbers.  It can analyze
  46.  
  47. future events, keep track of the
  48.  
  49. present situation, or give new
  50.  
  51. insights into the past.
  52.  
  53.   There is one salient point to
  54.  
  55. remember about spreadsheet models:
  56.  
  57. their validity depends on the
  58.  
  59. accuracy of the data, the appropriate
  60.  
  61. use of formulas, and the quality of
  62.  
  63. the assumptions that are used in
  64.  
  65. building the model.
  66.  
  67.   The old saying that 'Figures don't
  68.  
  69. lie, but liars figure' never had a
  70.  
  71. more appropriate setting than when
  72.  
  73. looking at the results of a model.
  74.  
  75. With that caveat in mind, let's talk
  76.  
  77. about Steinman.
  78.  
  79.            The Display
  80.            -----------
  81.  
  82.   The Steinman Spreadsheet consists of
  83.  
  84. four modules--the spreadsheet, a
  85.  
  86. dimension module, a report generator,
  87.  
  88. and a series of disk utilities.
  89.  
  90. Because space on LOADSTAR is limited,
  91.  
  92. we present here a reduced version of
  93.  
  94. the spreadsheet module.
  95.  
  96.   The reduction is significant.
  97.  
  98. In this version, you have 140 cells
  99.  
  100. in your spreadsheet, in the full-
  101.  
  102. blown version, you can have as many
  103.  
  104. as 2000 cells.  In addition, the
  105.  
  106. complete package has the extra
  107.  
  108. ability to change the size of your
  109.  
  110. spreadsheet.
  111.  
  112.   But the major difference is that
  113.  
  114. the complete package contains the
  115.  
  116. report generator module, the first of
  117.  
  118. its kind for a spreadsheet.  With it
  119.  
  120. you have total flexibility in
  121.  
  122. building reports based on your
  123.  
  124. spreadsheet models.
  125.  
  126.   You can still print out reports
  127.  
  128. from the version of Steinman on
  129.  
  130. Loadstar with the basic print routine
  131.  
  132. that is included within the
  133.  
  134. spreadsheet module.  You'll find this
  135.  
  136. routine adequate for the models you
  137.  
  138. can build.
  139.  
  140.   If you find this diluted version of
  141.  
  142. Steinman to your liking, you can save
  143.  
  144. $10 on the purchase of the complete
  145.  
  146. package by using the coupon included
  147.  
  148. with this issue.
  149.  
  150.   Even if you don't buy the complete
  151.  
  152. Steinman, you'll find this version
  153.  
  154. adequate to model several small
  155.  
  156. household tasks.
  157.  
  158.   With all that explanation out of
  159.  
  160. the way, let's get on to the task of
  161.  
  162. telling you how to use Steinman.
  163.  
  164.   The display is in two sections: the
  165.  
  166. main spreadsheet and a status
  167.  
  168. section.  The status section contains
  169.  
  170. the status bar, the cell locator, the
  171.  
  172. data entry line, and room for any
  173.  
  174. messages that may be appropriate.
  175.  
  176.           The Status Bar
  177.  
  178.  
  179.   There are two lines to the status
  180.  
  181. bar, which is printed in inverse at
  182.  
  183. the top of Steinman.  On the first
  184.  
  185. line is the mode indicator, room for
  186.  
  187. function titles, and the name of your
  188.  
  189. file.
  190.  
  191.            Mode Indicator
  192.  
  193.   The mode indicator will usually
  194.  
  195. show "INPUT", meaning that you're
  196.  
  197. ready to enter data into the
  198.  
  199. spreadsheet.  The alternative mode is
  200.  
  201. "CONTROL", which indicates that
  202.  
  203. you're using some other function of
  204.  
  205. the program.  Usually when you are in
  206.  
  207. control mode, the name of the
  208.  
  209. function is displayed in the center
  210.  
  211. of the top line of the status bar.
  212.  
  213.        Recalculate Indicator
  214.  
  215.   The second line of the status bar
  216.  
  217. displays the current state of the
  218.  
  219. model.  If you've been entering data,
  220.  
  221. an asterisk * will appear at the left
  222.  
  223. to indicate that you need to
  224.  
  225. recalculate the spreadsheet.
  226.  
  227.           Paging Indicator
  228.  
  229.   Next to that, a "P" or "PP" would
  230.  
  231. indicate that paging has been
  232.  
  233. activated.
  234.  
  235.          Precision Indicator
  236.  
  237.   To the right of the paging
  238.  
  239. indicator is the precision indicator.
  240.  
  241. Precision sets the depth to which
  242.  
  243. your formulas are calculated and is
  244.  
  245. shown by the at sign, such as @3 for
  246.  
  247. calculate three decimal places. Legal
  248.  
  249. values are 0-6.
  250.  
  251.        Fixed Decimal Indicator
  252.  
  253.   Next to precision is the fixed
  254.  
  255. decimal indicator.  This sets the
  256.  
  257. number of decimal places that will be
  258.  
  259. shown on your display and is shown by
  260.  
  261. the letter "F" followed by a number
  262.  
  263. or X.  Legal entries are 0-6.  X
  264.  
  265. means to use the number of decimals
  266.  
  267. in each cell that you entered.
  268.  
  269.       Negative Number Indicator
  270.  
  271.   After fixed decimal comes the
  272.  
  273. indication of how negative numbers
  274.  
  275. will be displayed.  They can be
  276.  
  277. prefixed by a minus sign "-", or
  278.  
  279. surrounded by parentheses ().
  280.  
  281.           Comma Indicator
  282.  
  283.   Following the negative number
  284.  
  285. indicator is the comma indicator.
  286.  
  287. You can choose to have commas in your
  288.  
  289. large numbers for easier reading.
  290.  
  291.  
  292.     Order of Calculation Indicator
  293.  
  294.   The next indicator is for order of
  295.  
  296. calculation.  You can choose to have
  297.  
  298. your model calculated either line by
  299.  
  300. line (horizontally) or column by
  301.  
  302. column (vertically).
  303.  
  304.            Size Indicator
  305.  
  306.   The final entry on the second line
  307.  
  308. of the status bar shows the size of
  309.  
  310. the spreadsheet, in this case 35x4.
  311.  
  312.          Other Status Items
  313.  
  314.   Near the top left of the screen is
  315.  
  316. the legend "CELL #".  What follows it
  317.  
  318. is the exact address where you are in
  319.  
  320. the spreadsheet.
  321.  
  322.   Under CELL # are the data entry
  323.  
  324. line and the data entry cursor.
  325.  
  326.         Cells and Addresses
  327.         -------------------
  328.  
  329.   The basic unit of a spreadsheet is
  330.  
  331. a cell.  Each cell has a unique
  332.  
  333. address that represents the
  334.  
  335. intersection of the line and column
  336.  
  337. at the point of the cell.
  338.  
  339.   The cell at the point where line 6
  340.  
  341. intersects column 3 has the address
  342.  
  343. L6C3.  No other cell has that
  344.  
  345. address.
  346.  
  347.       Cursors and Data Entry
  348.       ----------------------
  349.  
  350.   Steinman has two cursors, one above
  351.  
  352. the spreadsheet on the data entry
  353.  
  354. line and one in the spreadsheet.  The
  355.  
  356. data entry cursor indicates your
  357.  
  358. position relative to the data that
  359.  
  360. has been (is being) entered in the
  361.  
  362. cell.  It's activated during data
  363.  
  364. entry or editing.
  365.  
  366.   The cell cursor indicates your
  367.  
  368. position in the spreadsheet.
  369.  
  370. Whatever you enter on the data entry
  371.  
  372. line will appear in the cell on which
  373.  
  374. your cell cursor is placed.  You
  375.  
  376. accept the data you have entered by
  377.  
  378. pressing RETURN or by pressing a
  379.  
  380. cursor control key to move on to the
  381.  
  382. next cell into which you want to
  383.  
  384. enter data.
  385.  
  386.             Data Types
  387.  
  388.   A spreadsheet recognizes three
  389.  
  390. kinds of information: values, labels,
  391.  
  392. and formulas.
  393.  
  394.   Values are numbers.  They are
  395.  
  396. entered directly into cells or are
  397.  
  398. the results of the evaluation of a
  399.  
  400. formula.
  401.  
  402.   Labels are descriptors.  They
  403.  
  404. usually sit at the top of columns and
  405.  
  406. on the left of lines to indicate what
  407.  
  408. the numbers mean.
  409.  
  410.   Formulas cause manipulations to
  411.  
  412. values.  They contain references to
  413.  
  414. cell addresses and values.  All
  415.  
  416. formulas start with the plus sign +.
  417.  
  418. --------------------------------------
  419.  
  420. Commands from the Spreadsheet
  421.  
  422.   F1  Calculate the value of a cell
  423.   F2  Calculate the entire model
  424.   F3  Activate paging.
  425.       "P" paging causes the display
  426.       to move a section at a time
  427.       when a boundary is reached.
  428.       "PP" paging causes the display
  429.       to move a section at a time
  430.       without reaching the screen
  431.       boundary. Paging is controlled
  432.       by the right and down cursor
  433.       control keys.
  434.  
  435.   F5  Edit (on the data entry line)
  436.  
  437.   F7  Enter the control mode
  438.  
  439.   F8  Erase a cell
  440.  
  441.   \   Go directly to a cell
  442.  
  443.   +   Start of a formula
  444.  
  445.   ..  Range (see formulas)
  446.  
  447.  LxCy Cell address
  448.  
  449.  
  450. The cursor keys move as indicated and
  451.  
  452. the CLR/HOME key always returns you
  453.  
  454. to L1C1.
  455.  
  456. Commands accessed by pressing F7:
  457.  
  458.   Commodore A  Start new file
  459.  
  460.   B  Bytes (memory) remaining
  461.  
  462.   C  Copy a block of cells
  463.  
  464.   D  Delete (line or column)
  465.  
  466.   E  Erase a range of cells
  467.  
  468.   F  Change fixed decimals
  469.  
  470.   G  Go to a specific cell
  471.  
  472.   I  Insert (line or column)
  473.  
  474.   L  Set line spacing
  475.  
  476.   M  Move a block of cells
  477.  
  478.   O  Change order of calculation
  479.  
  480.   P  Print
  481.  
  482.   Commodore Q  Quit
  483.  
  484.   R  Replicate cell
  485.  
  486.   Shift R Replicate cell with
  487.      choice of referencing
  488.  
  489.   S  Save
  490.  
  491.   T  Fix Titles (set labels to stay
  492.      on the screen while you scroll
  493.      the spreadsheet).  The titles
  494.      indicator is at the intersection
  495.      of the spreadsheet axes. L fixes
  496.      line titles, C fixes column
  497.      titles, and when both L and C
  498.      are showing, both are fixed.
  499.  
  500.   W  Change column width
  501.  
  502.   1  Change text color
  503.  
  504.   2  Change screen color
  505.  
  506.   3  Change border color
  507.  
  508.   -  Negative number toggle
  509.  
  510.   ,  Comma display toggle
  511.  
  512.   @  Change precision
  513.  
  514. --------------------------------------
  515.  
  516.          Formula Formats
  517.  
  518. Addition (+)
  519.   +L1C2+L3C3+9
  520.  
  521. Subtraction (-)
  522.   +L2C1-L2C2-6
  523.  
  524. Multiplication (*)
  525.   +7*L2C2*L3C1
  526.  
  527. Division (/)
  528.   +12/L4C1
  529.  
  530. Greater than (>)
  531.   +L2C2>L3C3
  532.  
  533. Less than (<)
  534.   +L2C3<12
  535.  
  536. Exponentiation (^)
  537.   +2^2
  538.  
  539.  
  540.          Range Formulas
  541.  
  542.   Range formulas work over a range of
  543.  
  544. cells and always include the range
  545.  
  546. indicator: ..
  547.  
  548. Sum (adds all values in range)
  549.   +L1C2..L4C3
  550.  
  551. Minimum (gets lowest value in range)
  552.   +MINL2C3..L5C4
  553.  
  554. Maximum (gets highest value in range)
  555.   +MAXL4C1..L6C3
  556.  
  557. Average (finds the average of all
  558. nonblank values in specified range)
  559.   +AVGL6C2..L9C4
  560.  
  561. Count (finds the number of nonblank
  562. entries in the specified range)
  563.  
  564.   +#L5C1..L9C3
  565.  
  566.        If-Then-Else Formulas
  567.  
  568. If-Then-Else formulas enable you to
  569.  
  570. set conditions upon which certain
  571.  
  572. values will be entered in a cell.
  573.  
  574. There is a specific form to this
  575.  
  576. formula, which contains several
  577.  
  578. discrete elements:
  579.  
  580.   +  indicates formula
  581.  
  582.   [  indicates If-Then-Else
  583.  
  584.   A  then enter first cell address
  585.      or value or formula
  586.  
  587.  <>= then you need a Boolean operator
  588.  
  589.   B  then enter another cell
  590.      address or value or formula
  591.  
  592.   :  enter a colon (stands for Then)
  593.  
  594.   C  then enter another cell
  595.      address or value or formula
  596.  
  597.   ,  enter a comma (stands for Else)
  598.  
  599.   D  then enter another cell
  600.      address or value or formula
  601.  
  602.   ]  indicates end of formula
  603.  
  604. It looks like this:
  605.  
  606.   +[A>B:C,D]
  607.  
  608. and it reads like this:
  609.  
  610.   If A is greater than B then enter
  611.   C, otherwise enter D.
  612.  
  613. A, B, C, and D can be any value, cell
  614.  
  615. reference or formula (except another
  616.  
  617. If-then-Else formula) and > can be <
  618.  
  619. or = as well.
  620.  
  621.      Formula error messages
  622.  
  623.   ERR1  line number error
  624.   ERR2  column number error
  625.   ERR3  End of range error
  626.   ERR4  If-Then-Else syntax error
  627.   ERR5  Parenthesis error
  628.  
  629.  
  630.              Nesting
  631.  
  632.   Sometimes you have to nest values
  633.  
  634. or formulas.  Steinman calculates
  635.  
  636. from left to right.  So if you wanted
  637.  
  638. to multiply 3 times the sum of 2 + 5:
  639.  
  640.              +3*2+5
  641.  
  642. Your answer would come out as 11 (3
  643.  
  644. times 2 is 6 plus 5 equals 11)
  645.  
  646.   So you'd have to write that formula
  647.  
  648. as:
  649.              +3*(2+5)
  650.  
  651.  
  652.   Steinman will evaluate the
  653.  
  654. parenthetical expression before
  655.  
  656. performing the multiplication so
  657.  
  658. nesting will make the formula come
  659.  
  660. out as 21.
  661.  
  662.   You can use parentheses to nest
  663.  
  664. formulas within other formulas.
  665.  
  666.   You can nest up to five deep (four
  667.  
  668. sets of parentheses inside the first
  669.  
  670. set).
  671.  
  672. --------------------------------------
  673.  
  674.      Label Formatting Commands
  675.  
  676.   All labels print flush to the left
  677.  
  678. margin of the cell unless you format
  679.  
  680. them differently:
  681.  
  682.   Shift C  centers labels
  683.  
  684.   Shift R  flushes labels right
  685.  
  686.   >        causes the label to print
  687.            in the right margin
  688.  
  689.   '        an apostrophe preceding
  690.            numbers allows the numbers
  691.            to be considered a label
  692.  
  693.   !        sets the character that
  694.            follows it to be repeated
  695.            For example:
  696.              !=
  697.            causes the equal sign to
  698.            printed across the column.
  699.  
  700. --------------------------------------
  701.  
  702.        Cell Override Commands
  703.  
  704.   You can format individual cells to
  705.  
  706. carry dollar or percent signs and you
  707.  
  708. can override the global precision or
  709.  
  710. fixed decimal settings by appending a
  711.  
  712. suffix to your value, cell reference,
  713.  
  714. or formula.
  715.  
  716.   $n  formats the cell for a dollar
  717.       sign: +L2C5*3$2 gets dollars
  718.       and cents
  719.  
  720.   Pn  formats the cell to show a
  721.       percent sign in the right
  722.       margin: +L3C2/L4C2P3 gets a
  723.       percentage to three decimal
  724.       places
  725.  
  726.   Fn  changes the fixed decimal
  727.       display for that cell:
  728.       +L12C4/L30C4F6 displays the
  729.       answer to six decimal places
  730.  
  731.   @n  changes the precision setting
  732.       for that cell:
  733.       +L6C3/L12C2@4 calculates the
  734.       result of the formula to 4
  735.       decimal places.
  736.  
  737.   In all the above examples, n equals
  738.  
  739. the number of decimal places and must
  740.  
  741. be entered.
  742.  
  743.   Any model you make with this
  744.  
  745. version of Steinman will be
  746.  
  747. compatible with the full-blown
  748.  
  749. Steinman Spreadsheet.
  750.  
  751.   This explanation has been
  752.  
  753. necessarily brief.  The manual that
  754.  
  755. accompanies Steinman is 64 pages
  756.  
  757. long.  Should you need help
  758.  
  759. understanding the functions in
  760.  
  761. Steinman, call Loadstar between 8
  762.  
  763. a.m. and 5 p.m. Central time.  Ask
  764.  
  765. for Al Tommervik.
  766.  
  767.   The Steinman Spreadsheet is
  768.  
  769. fatal to the LOADSTAR environment.
  770.  
  771. If you RUN it from here, you will have
  772.  
  773. to turn your computer completely off
  774.  
  775. before trying the LOAD anything else.
  776.  
  777. If you do not turn if off, strange
  778.  
  779. things are sure to happen.  Because of
  780.  
  781. this, the Steinman Spreadsheet does
  782.  
  783. NOT return to LOADSTAR.  If you do
  784.  
  785. decide to RUN Steinman from here,
  786.  
  787. please be sure to have another disk
  788.  
  789. nearby so you can save your data onto
  790.  
  791. it.  Be Warned:: Do NOT try to save
  792.  
  793. any Steinman data files onto this
  794.  
  795. LOADSTAR disk (you won't like the
  796.  
  797. results, trust me!).  Also, make sure
  798.  
  799. you make a print-out of these
  800.  
  801. instructions because Steinman has no
  802.  
  803. Help Screens or Reminder screens.
  804.  
  805.  Steinman uses the following files:
  806.  
  807.     STEINMAN SPREAD and RTL-64
  808.  
  809.   If you would like to RUN the
  810.  
  811. Steinman Spreadsheet now, please press
  812. \oad"steinman spread",8
  813. the '\' (English pound) key now.
  814.  
  815. ---------< end of article >-----------
  816.